package com.shop.storage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shop.common.core.annotation.Excel;
import com.shop.common.core.web.domain.BaseEntity;

/**
 * 采购清单详情表对象 wms_purchase_detail
 *
 * @author czb
 * @date 2024-06-26
 */
public class WmsPurchaseDetail extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** $column.columnComment */
        private Long detailId;

        /** 采购单id */
        @Excel(name = "采购单id")
        private Long purchaseId;

        /** 采购商品id */
        @Excel(name = "采购商品id")
        private Long skuId;

        /** 采购数量 */
        @Excel(name = "采购数量")
        private Long skuNum;

        /** 采购金额 */
        @Excel(name = "采购金额")
        private BigDecimal skuPrice;

        /** 仓库id */
        @Excel(name = "仓库id")
        private Long wareId;

        /** 供应商id */
        @Excel(name = "供应商id")
        private Long supplierId;

        /** 状态[0新建，1已分配，2正在采购，3已完成，4采购失败] */
        @Excel(name = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
        private Long detailStatus;

        public void setDetailId(Long detailId)
        {
            this.detailId = detailId;
        }

        public Long getDetailId()
        {
            return detailId;
        }
        public void setPurchaseId(Long purchaseId)
        {
            this.purchaseId = purchaseId;
        }

        public Long getPurchaseId()
        {
            return purchaseId;
        }
        public void setSkuId(Long skuId)
        {
            this.skuId = skuId;
        }

        public Long getSkuId()
        {
            return skuId;
        }
        public void setSkuNum(Long skuNum)
        {
            this.skuNum = skuNum;
        }

        public Long getSkuNum()
        {
            return skuNum;
        }
        public void setSkuPrice(BigDecimal skuPrice)
        {
            this.skuPrice = skuPrice;
        }

        public BigDecimal getSkuPrice()
        {
            return skuPrice;
        }
        public void setWareId(Long wareId)
        {
            this.wareId = wareId;
        }

        public Long getWareId()
        {
            return wareId;
        }
        public void setSupplierId(Long supplierId)
        {
            this.supplierId = supplierId;
        }

        public Long getSupplierId()
        {
            return supplierId;
        }
        public void setDetailStatus(Long detailStatus)
        {
            this.detailStatus = detailStatus;
        }

        public Long getDetailStatus()
        {
            return detailStatus;
        }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("detailId", getDetailId())
        .append("purchaseId", getPurchaseId())
        .append("skuId", getSkuId())
        .append("skuNum", getSkuNum())
        .append("skuPrice", getSkuPrice())
        .append("wareId", getWareId())
        .append("supplierId", getSupplierId())
        .append("detailStatus", getDetailStatus())
            .toString();
}
}
